<template>
  <div class='registinfo'>
    <h3 class='title'>注册信息</h3>
    <div class="info clearfix">
      <div class="left">
        <p class='user'>注册用户</p>
        <p class='usercount'>100000</p>
      </div>
      <div class="right">
        <p class='user'>昨日用户</p>
        <p class='usercount'>200000</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'registinfo',
  props: {
    registinfo: {
      type: Object,
      default: function() {
        return {
          title: '注册信息',
          name: '注册用户',
          count: 123456
        };
      }
    }
  }
};
</script>

<style lang="less" scoped>
.registinfo {
  margin: 30px;
  text-align: center;
  border: solid 1px #999;
  overflow: hidden;
  .info {
    width: 80%;
    margin: 0 auto;
    border-top: solid 1px #999;
    overflow: hidden;
    .left {
      width: 40%;
      float: left;
      line-height: 20px;
    }
    .right {
      width: 40%;
      float: right;
      line-height: 20px;
    }
  }
}
</style>
